package com.aaa.ssm.service;

import com.aaa.ssm.entity.Department;
import com.aaa.ssm.entity.Disease;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DiseaseService {
    PageInfo queryByParam(Page<Disease> page);
    Disease queryById(Integer diseaseId);
    int add(Disease disease);
    int update(Disease disease);
    int deleteById(Integer diseaseId);
    PageInfo queryByPage(Page<Disease> page);
    List<Disease> queryDisease(Integer departmentId);
    // 获取所有科室信息的接口

    // 获取所有科室信息的接口
    List<Department> getAllDepartments();
}
